package com.lsj.dto.sys;

import com.lsj.core.validate.Update;
import lombok.Data;
import lombok.experimental.Accessors;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

/**
 * @Author:lin.sj
 * @Data:2021/7/22 20:27
 * @Desc:
 */
@Data
@Accessors(chain = true)
public class UserPwdResetDto {
    /**
     * 主键
     */
    @NotNull(message = "用户ID不能为空",groups = Update.class)
    private Long id;
    /**
     * 密码
     */
    @NotBlank(message = "密码不能为空",groups = {Update.class})
    private String password;
}
